<template>
	<view class="bill-content">
		<view class="bill-header">
			<view class="bill-header-tips">支付成功</view>
			<view class="bill-header-money">￥{{data.money}}</view>
		</view>
		<view class="bill-line">
			<view class="bill-line_param">订单号</view>
			<view class="bill-line_value">AOBEITINENG00123456789012345</view>
		</view>
		<view class="bill-line">
			<view class="bill-line_param">支付时间</view>
			<view class="bill-line_value">2023.10.18 16:30</view>
		</view>
		<view class="bill-line">
			<view class="bill-line_param">支付方式</view>
			<view class="bill-line_value">微信支付</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				data:{},
			}
		},
		onLoad(option) {
			if(option.details){
				this.data = JSON.parse(option.details)
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.bill-content{
		.bill-header{
			width: 100%;
			background-color: #ffffff;
			padding: 30rpx 0 34rpx;
			display: flex;
			flex-direction: column;
			align-items: center;
			margin-bottom: 10rpx;
			&-tips{
				font-size: 28rpx;
				color: $uni-text-color-opblack;
				line-height: 40rpx;
			}
			&-money{
				font-size: 60rpx;
				font-weight: bold;
				color: $uni-text-color-black;
				line-height: 86rpx;
				margin-top: 10rpx;
			}
		}
		.bill-line{
			background-color: #ffffff;
			width: calc(100% - 60rpx);
			padding: 0 30rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			height: 100rpx;
			line-height: 100rpx;
			margin-bottom: 2rpx;
			&_param{
				font-size: 28rpx;
				color: $uni-text-color-black;
			}
			&_value{
				font-size: 28rpx;
				color: $uni-text-color-opblack;
			}
		}
	}
</style>